package cn.bailin233.gateway.compoent.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(name = "system-service", configuration = FeignInterceptor.class)
public interface SystemService {
    @RequestMapping("/userInfo/getRoleNameList")
    List<String> getRoleNameList(@RequestParam("uid")Long uid);

    @RequestMapping("/userInfo/getResourceNameList")
    List<String> getResourceNameList(@RequestParam("uid")Long uid);
}
